<?php

namespace app\model\system;

use app\base\BaseModel;

/**
 * 模型-系统配置
 * Class SysConfigModel
 * @package app\model
 */
class SysConfigModel extends BaseModel
{

    protected $name = 'sys_config';

    public static function getSystem()
    {
        $data = self::where('id', 1)->find();
        return $data;
    }
}
